import cv2

img = cv2.imread("./img/cat.png")
# 转化灰度图
# gray_img = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
# 将灰度图转化为BGR 的彩色图(升维度)
# bgr_img = cv2.cvtColor(gray_img,cv2.COLOR_GRAY2BGR)
# print(bgr_img.shape)

# 此处的颜色标准会在车道识别中使用
# cv2.cvtColor(img,cv2.COLOR_BGR2HSV) # 区分明暗
# cv2.cvtColor(img,cv2.COLOR_BGR2HLS) # 区分明暗

# cv2.imshow("bgr",bgr_img)
# cv2.waitKey(0)